﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Landscape.Business.Entities
{
    public class EmergencyFeedback
    {
        public EmergencyFeedback()
        {
            this.ID = Guid.Empty;
            this.Status = FeedbackStatus.OPEN;
            this.CreatedDate = DateTime.Now;
            this.UpdatedDate = DateTime.Now;
        }

        public virtual Guid ID
        { get; set; }

        public virtual FeedbackType Type
        { get; set; }

        public virtual string Comments
        { get; set; }

        public virtual string CorrectiveAction
        { get; set; }

        public virtual UserMaster AssignedTo
        { get; set; }

        public virtual UserMaster ReviewTo
        { get; set; }

        public virtual DateTime? ResponseDueDate
        { get; set; }

        public virtual Action CorrectiveActionInstance
        { get; set; }

        public virtual FeedbackStatus Status
        { get; set; }

        public virtual bool IsDeleted
        { get; set; }

        public virtual Guid CreatedBy
        { get; set; }

        public virtual DateTime CreatedDate
        { get; set; }

        public virtual Guid UpdatedBy
        { get; set; }

        public virtual DateTime UpdatedDate
        { get; set; }
    }
}
